package com.whpost.api.controller.wxht;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.write.builder.ExcelWriterBuilder;
import com.alibaba.excel.write.style.column.SimpleColumnWidthStyleStrategy;
import com.whpost.api.controller.BaseController;
import com.whpost.api.utils.ApiUtils;
import com.whpost.service.entity.tools.ListInfo;
import com.whpost.service.entity.tools.ResultInfo;
import com.whpost.service.service.t.FileService;
import com.whpost.service.tools.Url;
import com.whpost.service.wx.entiy.WxBaoming;
import com.whpost.service.wx.service.WxXcServices;
import com.whpost.service.wx.service.WxbmServices;
import jakarta.annotation.Resource;
import jakarta.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/wxxc")
public class WxxcController extends BaseController {

    @Resource
    private FileService fileService;

    @Autowired
    public WxxcController(WxXcServices wxXcServices) {
        super();
        setPerCode("wxxc");
        setBaseServices(wxXcServices);
    }
}
